<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改视频信息</title>
 </head>
 <body>
<form method="post"  action="ind.php?c=video&m=updatevideo&id=$data['vid']" enctype="multipart/form-data" >
<table align="center" border="1" width=500>
<caption>修改视频信息</caption>
<tr>
  <td width="20%">id</td>
  <td width="80%"><?php  echo $data[0]['vid']; ?>
  <input type="hidden" name="vid" value=<?php  echo $data[0]['vid'] ;?> > 
  </td>
</tr>
<tr>
  <td>视频名称：</td>
  <td><input type="text" name="videoname" size=30  value=<?php  echo  $data[0]['videoname']; ?> >
  </td>
</tr>

<tr>
  <td>视频类型：</td>
  <td><!-- <input type="text" name="tid" size=30  value=<?php  echo $data[0]['typename']; ?> > -->
    <select name="tid">
                <option value="0">请选择</option>
        <option value="1">电影</option>
        <option value="2">电视剧</option>
        <option value="3">综艺</option>
        <option value="4">动漫</option>
        <option value="5">体育</option>
        <option value="6">纪录片</option>
        <option value="7">教育</option>
        <option value="8">冒险</option>

      </select>
  </td>
</tr>

<tr>
  <td>海报:</td>
  <td><input type="file" name="pic" size=30  value=<?php  echo $data[0]['pic']; ?> ></td>
</tr>

<tr>
  <td>内容简介:</td>
  <td><input type="text" name="intro" size=30  value=<?php  echo $data[0]['intro']; ?> ></td>
</tr>

<tr>
  <td>添加日期:</td>
  <td><input type="date" name="uploaddate" size=30  value=<?php  echo $data[0]['uploaddate']; ?> ></td>
</tr>

<tr>
  <td>上传用户:</td>
  <td><input type="text" name="uploadadmin" size=30  value=<?php  echo $data[0]['uploadadmin']; ?> ></td>
</tr>

<!-- <tr>
  <td>点击率:</td>
  <td><input type="text" name="hittimes" size=30  value=<?php  echo $data[0]['hittimes']; ?> ></td>
</tr>

<tr>
  <td>下载量:</td>
  <td><input type="text" name="downtimes" size=30  value=<?php  echo $data[0]['downtimes']; ?> ></td>
</tr> -->

<tr>
  <td>下载地址:</td>
  <td><input type="text" name="address" size=30  value=<?php  echo $data[0]['address']; ?> ></td>
</tr>

<tr>
<td width=150></td>
<td>
<input type="submit" value="更新">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
 </body>
</html>
